package com.squid.templateProject.mapper.user;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.squid.templateProject.bean.entity.OrganizationEntity;
import com.squid.templateProject.bean.req.organization.OrganizationSelectPageReq;
import com.squid.templateProject.bean.resp.organization.OrganizationSelectPageResp;
import com.squid.templateProject.bean.resp.user.UserSelectPageResp;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.Collections;

/**
 * @author jinhang1
 * @description 针对表【organization(组织表)】的数据库操作Mapper
 * @createDate 2024-01-23 17:28:39
 * @Entity generator.domain.OrganizationEntity
 */
public interface OrganizationEntityMapper extends BaseMapper<OrganizationEntity> {
    /**
     * Description 分页查询
     *
     * @param page
     * @param req
     * @return {@link IPage }<{@link UserSelectPageResp }>
     * @author jinhang1
     * @since 2024/01/02
     */
    IPage<OrganizationSelectPageResp> page(IPage<OrganizationSelectPageResp> page, @Param("request") OrganizationSelectPageReq req);


    Integer insertBatchSomeColumn(Collection<OrganizationEntity> entity);

}




